<?php
// 中间件配置
return [
    // 别名或分组
    'alias'    => [
        'api_check_token' => app\api\middleware\CheckToken::class,
        'check_admin_login' => app\admin\middleware\CheckAdminLogin::class,
        'check_admin_auth' => app\admin\middleware\CheckAdminAuth::class,
        'check_cps_login' => app\cps\middleware\CheckCpsLogin::class,
        'h5_check_token' => app\h5\middleware\CheckToken::class,
    ],
    // 优先级设置，此数组中的中间件会按照数组中的顺序优先执行
    'priority' => [],
];
